﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace BW.WMS.Migrations
{
    /// <inheritdoc />
    public partial class standings : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropPrimaryKey(
                name: "PK_AppStandingBookSubModel",
                table: "AppStandingBookSubModel");

            migrationBuilder.DropPrimaryKey(
                name: "PK_AppStandingBookModel",
                table: "AppStandingBookModel");

            migrationBuilder.RenameTable(
                name: "AppStandingBookSubModel",
                newName: "AppAppStandingBookSubModel");

            migrationBuilder.RenameTable(
                name: "AppStandingBookModel",
                newName: "AppAppStandingBookModel");

            migrationBuilder.AddPrimaryKey(
                name: "PK_AppAppStandingBookSubModel",
                table: "AppAppStandingBookSubModel",
                column: "Id");

            migrationBuilder.AddPrimaryKey(
                name: "PK_AppAppStandingBookModel",
                table: "AppAppStandingBookModel",
                column: "Id");
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropPrimaryKey(
                name: "PK_AppAppStandingBookSubModel",
                table: "AppAppStandingBookSubModel");

            migrationBuilder.DropPrimaryKey(
                name: "PK_AppAppStandingBookModel",
                table: "AppAppStandingBookModel");

            migrationBuilder.RenameTable(
                name: "AppAppStandingBookSubModel",
                newName: "AppStandingBookSubModel");

            migrationBuilder.RenameTable(
                name: "AppAppStandingBookModel",
                newName: "AppStandingBookModel");

            migrationBuilder.AddPrimaryKey(
                name: "PK_AppStandingBookSubModel",
                table: "AppStandingBookSubModel",
                column: "Id");

            migrationBuilder.AddPrimaryKey(
                name: "PK_AppStandingBookModel",
                table: "AppStandingBookModel",
                column: "Id");
        }
    }
}
